﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace test.demo.Model.DV
{
		/// <summary>
		/// 机械设备表
		/// </summary>
		public class DV_Machinery : Entity<int>
		{
				/// <summary>
				/// 设备编码
				/// </summary>
				public string MachineryCode { get; set; } = string.Empty;
				/// <summary>
				/// 设备名称
				/// </summary>
				public string MachineryName { get; set; } = string.Empty;
				/// <summary>
				/// 品牌
				/// </summary>
				public string? MachineryBrand { get; set; } = string.Empty;
				/// <summary>
				/// 规格型号
				/// </summary>
				public string? MachinerySpec { get; set; } = string.Empty;
				/// <summary>
				/// 设备类型ID
				/// </summary>
				public int MachineryTypeId { get; set; }
				/// <summary>
				/// 设备类型编码
				/// </summary>
				public string? MachineryTypeCode { get; set; } = string.Empty;
				/// <summary>
				/// 设备类型名称
				/// </summary>
				public string? MachineryTypeName { get; set; } = string.Empty;
				/// <summary>
				/// 所属车间ID
				/// </summary>
				public int? WorkShopId { get; set; }
				/// <summary>
				/// 所属车间编码
				/// </summary>
				public string? WorkShopCode { get; set; } = string.Empty;
				/// <summary>
				/// 所属车间名称
				/// </summary>
				public string? WorkShopName { get; set; } = string.Empty;
				/// <summary>
				/// 设备状态，默认值是 'STOP'
				/// </summary>
				public string Status { get; set; } = "STOP";
				/// <summary>
				/// 备注
				/// </summary>
				public string? Remark { get; set; } = string.Empty;
				/// <summary>
				/// 创建人
				/// </summary>
				public string? CreateBy { get; set; } = string.Empty;
				/// <summary>
				/// 创建时间
				/// </summary>
				public DateTime? CreateTime { get; set; }
				/// <summary>
				/// 更新人
				/// </summary>
				public string? UpdateBy { get; set; } = string.Empty;
				/// <summary>
				/// 更新时间
				/// </summary>
				public DateTime? UpdateTime { get; set; }
		}
}
